<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <c:set var="ctx" value="${pageContext.request.contextPath}"/>
    <title>查看选课</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->

    <link href="student.css" rel="stylesheet" type="text/css">
</head>

<body>
<p class="main" style="font-size: larger">学生课程表</p>
<form method="post" action="${ctx}/StudentCoursesFindAll">
    <table style="text-align: center;font-size: large">
        <tr>
            <th>课程编号</th>
            <th>课程名称</th>
            <th>开课时间</th>
            <th>授课教师</th>
            <th>是否可选</th>
            <th>操作</th>
        </tr>
        <c:forEach items="${lstv}" var="lstt">
            <tr>
                <c:forEach items="${lstt}" var="ob">
                    <td>${ob}</td>
                </c:forEach>
                <td><a href="${ctx}/StudentSelectAction?id=${lstt[0]}" onclick="return confirm('确定选择该课程？');">选课</a>
                </td>
            </tr>
        </c:forEach>
    </table>
</form>
<a href="student/studentmain.jsp" style="font-size: larger">返回主页</a>
</body>
</html>
